package com.medicalservice.service;

import com.github.pagehelper.PageInfo;
import com.medicalservice.entity.Department;

import java.util.List;

public interface DepartmentService {
    public void add(Department department);
    public void deleteById(Integer id);
    public void updateById(Department department);
    public List<Department> selectAll(Department department);
    public PageInfo<Department> selectPage(Department department, Integer pageNum, Integer pageSize);
    public Integer countByStatus(Integer status);
    public Department selectById(Integer id);
}
